package com.vitech.javacertification.oo;

import java.util.AbstractList;
import java.util.ArrayList;

class SuperBaseO {
	
	static int counter = 10;
}

class Base3 extends SuperBaseO {
	static int counter = 0;
}

class Derived3 extends Base3 {
}

public class SuperBase {

	
	static AbstractList helo = new ArrayList();
	
	public static void main(String[] args) {

		SuperBaseO[] s1 = new Base3[2]; // 1
		SuperBaseO[] s2 = new Derived3[] { new Derived3() }; // 2
		Base3[] b1 = new Derived3[0]; // 3
		Derived3[] d1 = (Derived3[]) s2; // 4
		Base3[] b3 = d1; // 5
		s1 = b1; // 6

	}

}